package com.jic.market.request.rest;

import com.jic.market.request.rest.base.RestBaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author xuyongliang
 * @version V1.0
 * @className 秒杀列表请求类 rest
 * @description TODO
 * @date 2020/1/17
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "秒杀列表请求属性")
public class SeckillArrRequest extends RestBaseRequest implements Serializable {

    private static final long serialVersionUID = 7639085244154771458L;

    @NotNull(message = "缺少 start 参数")
    @ApiModelProperty(value = "分页参数 当前页码" , required = true)
    private Integer start;
    @NotNull(message = "缺少 limit 参数")
    @ApiModelProperty(value = "分页参数 当前页总条数" , required = true)
    private Integer limit;

}
